/**
 * Created with IntelliJ IDEA.
 * User: Christian Dadswell
 * Date: 13/03/13
 * Time: 20:28
 */

public class runner {
    public static void main(String args[]) {

    /*  BBC URLs

        Schedules URL - http://www.bbc.co.uk/radio/schedules

        Genres schedules URL - http://www.bbc.co.uk/6music/programmes/genres/music/schedules

        Categories
        Available now (player) - http://www.bbc.co.uk/6music/programmes/genres/music/player/episodes
        Now and next - http://www.bbc.co.uk/6music/programmes/genres/music/schedules/upcoming
        A-Z available now and coming soon - http://www.bbc.co.uk/6music/programmes/genres/music/current
        A-Z all programmes - http://www.bbc.co.uk/6music/programmes/genres/music/all


        Object types
        Station - local, national, regional
    */

        //Create folder structures
        functions_fileio.CreateADirectory(constants.rootDir);
        functions_fileio.CreateADirectory(constants.stationsDir);
        functions_fileio.CreateADirectory(constants.broadcastsDir);
        functions_fileio.CreateADirectory(constants.schedulesDir);
        functions_fileio.CreateADirectory(constants.broadcastStationsDir);
        functions_fileio.CreateADirectory(constants.schedulesStationsDir);

        // scrape all BBC radio stations
        parser_BBCRadio.GetAllStations();

        // get latest schedule urls
        parser_BBCRadio.GetScheduleUrlsForStationByStation("BBC Radio 6 Music");

        // get all broadcasts for a station by date
        parser_BBCRadio.GetScheduledBroadcastsForStationByDate("BBC Radio 6 Music", "17042013");

        //parser_BBCRadio.GetBroadcastsForStationByUrl("BBC Radio 6 Music", "");


    }
}
